package com.cskaoyan.bean.chenfeng.vo;

import java.util.List;

/**
 * @author Chen_Feng
 * @since 2022/06/25 23:29
 */

public class ProvinceVo {

    /**
     * code : 110000
     * children : [{"code":110100,"children":[{"code":110101,"name":"东城区","id":376,"type":3}],"name":"市辖区","id":32,"type":2}]
     * name : 北京市
     * id : 1
     * type : 1
     */
    private int code;
    private List<CityVo> children;
    private String name;
    private int id;
    private int type;

    public void setCode(int code) {
        this.code = code;
    }

    public void setChildren(List<CityVo> children) {
        this.children = children;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCode() {
        return code;
    }

    public List<CityVo> getChildren() {
        return children;
    }

    public String getName() {
        return name;
    }

    public int getId() {
        return id;
    }

    public int getType() {
        return type;
    }

    public static class CityVo {
        /**
         * code : 110100
         * children : [{"code":110101,"name":"东城区","id":376,"type":3}]
         * name : 市辖区
         * id : 32
         * type : 2
         */
        private int code;
        private List<AreaVo> children;
        private String name;
        private int id;
        private int type;

        public void setCode(int code) {
            this.code = code;
        }

        public void setChildren(List<AreaVo> children) {
            this.children = children;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getCode() {
            return code;
        }

        public List<AreaVo> getChildren() {
            return children;
        }

        public String getName() {
            return name;
        }

        public int getId() {
            return id;
        }

        public int getType() {
            return type;
        }

        public static class AreaVo {
            /**
             * code : 110101
             * name : 东城区
             * id : 376
             * type : 3
             */
            private int code;
            private String name;
            private int id;
            private int type;

            public void setCode(int code) {
                this.code = code;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getCode() {
                return code;
            }

            public String getName() {
                return name;
            }

            public int getId() {
                return id;
            }

            public int getType() {
                return type;
            }
        }
    }
}
